package modele;

import java.io.Writer;

import java.util.SortedSet;

import java.rmi.Remote;

public interface Parcours extends Remote {

    public void setIntitule(String nom) throws Exception;
    public void setSigle(String nom) throws Exception;
    public void setQuota(int nb) throws Exception;
    public Object[] getObjet() throws Exception;
    public String[] getInfo() throws Exception;
    public int getIdent() throws Exception;
    public String getIntitule() throws Exception;
    public String getSigle() throws Exception;
    public int getQuota() throws Exception;
    public int getNbUeObligatoires() throws Exception;
    public int getNbUeChoix1() throws Exception;
    public int getNbUeChoix2() throws Exception;
    public int getNbPropositions() throws Exception;
    public SortedSet<UniteEnseignement> getUeObligatoires() throws Exception;
    public SortedSet<UniteEnseignement> getUeChoix1() throws Exception;
    public SortedSet<UniteEnseignement> getUeChoix2() throws Exception;
    public SortedSet<Fiche> getDemandes() throws Exception;
    public SortedSet<Dossier> getPropositions() throws Exception;
    public boolean addObligatoire(UniteEnseignement ue) throws Exception;
    public boolean addChoix1(UniteEnseignement ue) throws Exception;
    public boolean addChoix2(UniteEnseignement ue) throws Exception;
    public boolean addDemande(Fiche f) throws Exception;
    public boolean addProposition(Dossier e) throws Exception;
    public boolean removeObligatoire(UniteEnseignement ue) throws Exception;
    public boolean removeChoix1(UniteEnseignement ue) throws Exception;
    public boolean removeChoix2(UniteEnseignement ue) throws Exception;
    public boolean removeDemande(Fiche f) throws Exception;
    public boolean removeProposition(Dossier e) throws Exception;
    public void clearPropositions() throws Exception;
    public void clearDemandes() throws Exception;
    public void imprimer(Writer file) throws Exception;
    public void imprimerSynthese(Writer file) throws Exception;
	
    static String[] entete = {"Intitule","Sigle","Quota","nb obligatoire",
		"nb choix 1","nb choix 2","Obligatoire", "Choix 1","Choix 2","Nb demandes","Nb retenus"};
	
    
    
}
